<?php

namespace AppBundle\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * P2pBiddingType
 *
 * @ORM\Table(name="p2p_bidding_type", uniqueConstraints={@ORM\UniqueConstraint(name="code", columns={"bt_code"})}, indexes={@ORM\Index(name="name", columns={"bt_name"}), @ORM\Index(name="bt_code", columns={"bt_code"})})
 * @ORM\Entity
 */
class P2pBiddingType
{
    /**
     * @var string
     *
     * @ORM\Column(name="bt_name", type="string", length=45, nullable=false)
     */
    private $btName;

    /**
     * @var string
     *
     * @ORM\Column(name="bt_code", type="string", length=45, nullable=false)
     */
    private $btCode;

    /**
     * @var integer
     *
     * @ORM\Column(name="f_id", type="bigint", nullable=false)
     */
    private $fId;

    /**
     * @var string
     *
     * @ORM\Column(name="bt_img_web", type="string", length=100, nullable=false)
     */
    private $btImgWeb = '0';

    /**
     * @var string
     *
     * @ORM\Column(name="bt_img_cp", type="string", length=100, nullable=false)
     */
    private $btImgCp = '0';

    /**
     * @var string
     *
     * @ORM\Column(name="bt_introduction", type="text", length=65535, nullable=false)
     */
    private $btIntroduction;

    /**
     * @var integer
     *
     * @ORM\Column(name="bt_order", type="integer", nullable=false)
     */
    private $btOrder;

    /**
     * @var integer
     *
     * @ORM\Column(name="bt_status", type="integer", nullable=false)
     */
    private $btStatus = '1';

    /**
     * @var integer
     *
     * @ORM\Column(name="bt_time", type="integer", nullable=false)
     */
    private $btTime = '0';

    /**
     * @var integer
     *
     * @ORM\Column(name="bt_id", type="integer")
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="IDENTITY")
     */
    private $btId;



    /**
     * Set btName
     *
     * @param string $btName
     *
     * @return P2pBiddingType
     */
    public function setBtName($btName)
    {
        $this->btName = $btName;

        return $this;
    }

    /**
     * Get btName
     *
     * @return string
     */
    public function getBtName()
    {
        return $this->btName;
    }

    /**
     * Set btCode
     *
     * @param string $btCode
     *
     * @return P2pBiddingType
     */
    public function setBtCode($btCode)
    {
        $this->btCode = $btCode;

        return $this;
    }

    /**
     * Get btCode
     *
     * @return string
     */
    public function getBtCode()
    {
        return $this->btCode;
    }

    /**
     * Set fId
     *
     * @param integer $fId
     *
     * @return P2pBiddingType
     */
    public function setFId($fId)
    {
        $this->fId = $fId;

        return $this;
    }

    /**
     * Get fId
     *
     * @return integer
     */
    public function getFId()
    {
        return $this->fId;
    }

    /**
     * Set btImgWeb
     *
     * @param string $btImgWeb
     *
     * @return P2pBiddingType
     */
    public function setBtImgWeb($btImgWeb)
    {
        $this->btImgWeb = $btImgWeb;

        return $this;
    }

    /**
     * Get btImgWeb
     *
     * @return string
     */
    public function getBtImgWeb()
    {
        return $this->btImgWeb;
    }

    /**
     * Set btImgCp
     *
     * @param string $btImgCp
     *
     * @return P2pBiddingType
     */
    public function setBtImgCp($btImgCp)
    {
        $this->btImgCp = $btImgCp;

        return $this;
    }

    /**
     * Get btImgCp
     *
     * @return string
     */
    public function getBtImgCp()
    {
        return $this->btImgCp;
    }

    /**
     * Set btIntroduction
     *
     * @param string $btIntroduction
     *
     * @return P2pBiddingType
     */
    public function setBtIntroduction($btIntroduction)
    {
        $this->btIntroduction = $btIntroduction;

        return $this;
    }

    /**
     * Get btIntroduction
     *
     * @return string
     */
    public function getBtIntroduction()
    {
        return $this->btIntroduction;
    }

    /**
     * Set btOrder
     *
     * @param integer $btOrder
     *
     * @return P2pBiddingType
     */
    public function setBtOrder($btOrder)
    {
        $this->btOrder = $btOrder;

        return $this;
    }

    /**
     * Get btOrder
     *
     * @return integer
     */
    public function getBtOrder()
    {
        return $this->btOrder;
    }

    /**
     * Set btStatus
     *
     * @param integer $btStatus
     *
     * @return P2pBiddingType
     */
    public function setBtStatus($btStatus)
    {
        $this->btStatus = $btStatus;

        return $this;
    }

    /**
     * Get btStatus
     *
     * @return integer
     */
    public function getBtStatus()
    {
        return $this->btStatus;
    }

    /**
     * Set btTime
     *
     * @param integer $btTime
     *
     * @return P2pBiddingType
     */
    public function setBtTime($btTime)
    {
        $this->btTime = $btTime;

        return $this;
    }

    /**
     * Get btTime
     *
     * @return integer
     */
    public function getBtTime()
    {
        return $this->btTime;
    }

    /**
     * Get btId
     *
     * @return integer
     */
    public function getBtId()
    {
        return $this->btId;
    }
}
